package com.yeyks.commonReference.append.mongodb.service;

import com.yeyks.commonReference.append.mongodb.entity.PayCallbackRecordMongoEntity;
import com.yeyks.commonReference.append.mongodb.repository.PayCallbackRecordMongoRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PayCallbackRecordMongoService {

    @Autowired
    private PayCallbackRecordMongoRepository payCallbackRecordMongoRepository;

    public void save(PayCallbackRecordMongoEntity payCallbackRecordMongoEntity) {
        try {
            payCallbackRecordMongoRepository.save(payCallbackRecordMongoEntity);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
